package com.mdd.common.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mdd.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("order_clue_allocation_record")
@ApiModel("线索分配记录表")
public class OrderClueAllocationRecord extends BaseEntity {

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "线索记录表id")
    private Long id;
    @ApiModelProperty(value = "线索id")
    private Long clueId;
    @ApiModelProperty(value = "源部门id")
    private Long sourceDeptId;
    @ApiModelProperty(value = "源部门编码")
    private String sourceDeptCode;
    @ApiModelProperty(value = "目标部门id")
    private Integer targetDeptId;
    @ApiModelProperty(value = "目标部门id")
    private Integer targetDeptCode;
    @ApiModelProperty("操作类型 0分配 1更改状态 ")
    private Integer type;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("描述")
    private String content;

}
